<template>
  <div class="login-page">
    <div class="login-page2">
      <header class="login-header">
        <Header />
      </header>
      <main class="login-main">
        <LoginForm />
      </main>
    </div>
  </div>
</template>

<script setup>
import Header from "./components/header.vue";
import LoginForm from "./components/login-form.vue";
</script>

<style lang="less" scoped>
.login-page {
  height: 100vh;
  width: 100vw;
  background-image: url("@/assets/image/login/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  top: 0;
  left: 0;
  .login-page2 {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .login-header {
    width: 900px;
    margin: 0 auto;
  }
  .login-main {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
</style>
